#ifndef ROTATEDRAW_H
#define ROTATEDRAW_H

#include <QWidget>
#include <QPaintEvent>
#include <QPainter>
#include <QLabel>
class Rotatedraw : public QWidget
{
    Q_OBJECT
public:
    explicit Rotatedraw(QObject *parent = nullptr);

public:
    int positionX, positionY;

    double rotateAngle;

    double get_Rotate_Angle();
    void drawPosition(int x, int y);
    void setPlatform_Angle(double degree);

private:
    void paintEvent(QPaintEvent*);
    void drawCircle(QPainter *painter);
    void drawDial(QPainter *painter);
    void drawPointer(QPainter *painter);





signals:

};

#endif // ROTATEDRAW_H
